<!-- 你的困境 -->
<template>
  <div class="main container">
    <div class="left">
      <div class="item">
        <div class="info">
          <button class="button">碎片存活时间</button>
        </div>
        <div class="select" style="justify-content: center">3天</div>
      </div>
      <div class="item">
        <div class="info">
          <button class="button">困境标签</button>
        </div>
        <div class="select" style="justify-content: space-between">
          <el-radio v-model="TroubleLabel" label="1"
            ><span style="color: #fff">职场新人</span></el-radio
          >
          <el-radio v-model="TroubleLabel" label="2"
            ><span style="color: #fff">职场pua</span></el-radio
          >
        </div>
      </div>
      <div class="item">
        <div class="info">
          <button class="button">联系方式</button>
        </div>
        <div class="select" style="justify-content: center">11111111@.com</div>
      </div>
      <div class="item">
        <div class="info">
          <button class="button">困境树洞</button>
        </div>
        <div class="select" style="justify-content: center">职场新人</div>
      </div>
      <div class="item">
        <div class="info">
          <button class="button">备注</button>
        </div>
        <div class="select" style="justify-content: center">职场新人</div>
      </div>
    </div>
  </div>
</template>

<script>
//这里可以导入其他文件（比如：组件，工具js，第三方插件js，json文件，图片文件等等）
//例如：import 《组件名称》 from '《组件路径》';

export default {
  name: "",
  //import引入的组件需要注入到对象中才能使用
  components: {},
  data() {
    //这里存放数据
    return {
      TroubleLabel: "1",
      isShowTime: "3",
      tele: "",
      dec: "",
    };
  },
  //监听属性 类似于data概念
  computed: {},
  //监控data中的数据变化
  watch: {},
  //方法集合
  methods: {},
  //生命周期 - 创建完成（可以访问当前this实例）
  created() {},
  //生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {},
  beforeCreate() {}, //生命周期 - 创建之前
  beforeMount() {}, //生命周期 - 挂载之前
  beforeUpdate() {}, //生命周期 - 更新之前
  updated() {}, //生命周期 - 更新之后
  beforeDestroy() {}, //生命周期 - 销毁之前
  destroyed() {}, //生命周期 - 销毁完成
  activated() {}, //如果页面有keep-alive缓存功能，这个函数会触发
};
</script>
<style lang='scss' scoped>
//@import url(); 引入公共css类
@import "@/assets/scss/mixin.scss";
.main {
  @include flex(flex-start, stretch);
  margin: 50px auto;
  .left {
    width: 400px;
    margin-right: 280px;
    .item {
      @include flex(space-between, flex-start);
      margin-bottom: 30px;
      &:last-child {
        margin-bottom: 0;
      }
      .info {
        width: 130px;
        flex-shrink: 0;
        margin-right: 30px;
        .button {
          border: 1px solid #fff;
          background-color: transparent;
          color: #fff;
          outline: none;
          width: 100%;
          padding: 6px 0;
          border-radius: 12px;
        }
      }
      .select {
        box-sizing: border-box;
        padding: 0 20px;
        height: 80px;
        border-radius: 10px;
        background-color: transparent;
        border: 1px solid #fff;
        color: #333;
        flex-grow: 1;
        display: flex;
        align-items: center;
        color: #fff;
        .text {
          border: none;
          font-size: 16px;
          width: 100%;
          height: 100%;
          color: #fff;
          &::placeholder {
            font-size: 12px;
          }
        }
      }
    }
  }
}
</style>